package com.archive.manage.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.archive.common.annotation.Excel;
import com.archive.common.core.domain.BaseEntity;

/**
 * 学生档案-操作日志关联表对象 tb_stu_archive_archive_log
 * 
 * @author marioduan
 * @date 2025-04-03
 */
public class StuArchiveArchiveLog extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 关联ID */
    private Long id;

    /** 学号 */
    @Excel(name = "学号")
    private String archiveId;

    /** 日志哈希值 */
    @Excel(name = "日志哈希值")
    private String logHash;

    public StuArchiveArchiveLog(String archiveId, String logHash) {
        this.archiveId = archiveId;
        this.logHash = logHash;
    }

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setArchiveId(String archiveId) 
    {
        this.archiveId = archiveId;
    }

    public String getArchiveId() 
    {
        return archiveId;
    }

    public void setLogHash(String logHash) 
    {
        this.logHash = logHash;
    }

    public String getLogHash() 
    {
        return logHash;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("archiveId", getArchiveId())
            .append("logHash", getLogHash())
            .toString();
    }
}
